<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:55:"F:\huipaibang\smartcenter\/public/theme/admin\left.html";i:1529463791;}*/ ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8" >
<title>左边导航</title>
<link rel="stylesheet" type="text/css" href="/theme/admin/Assets/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="/theme/admin/Assets/css/common.css"/>
<script type="text/javascript" src="/theme/admin/Assets/js/jquery-1.8.3.min.js"></script>
<!--框架高度设置-->
<script type="text/javascript">
$(function(){
	$('.sidenav li').click(function(){
		$(this).siblings('li').removeClass('now');
		$(this).addClass('now');
	});
	
	$('.erji li').click(function(){
		$(this).siblings('li').removeClass('now_li');
		$(this).addClass('now_li');
	});
	
	var main_h = $(window).height();
	$('.sidenav').css('height',main_h+'px');
})
</script>
<!--框架高度设置-->
</head>

<body>
<div id="left_ctn">
    <ul class="sidenav">
        <li class="now">
            <div class="nav_m">
                <span><a>设备管理</a></span>
                <i>&nbsp;</i>
            </div>
            <ul class="erji">
                <li class="now_li">
                    <span><a href="<?php echo url('index/index/device_list'); ?>" target="main">设备列表</a></span>
                </li>
                <li>
                    <span><a href="<?php echo url('index/index/device_edit'); ?>" target="main">新建设备</a></span>
                </li>
                <!--<li>-->
                    <!--<span><a href="<?php echo url('index/index/device_chat'); ?>" target="main">设备报表</a></span>-->
                <!--</li>-->
            </ul>
        </li>
        <li>
            <div class="nav_m">
                <span><a>状态管理</a></span>
                <i>&nbsp;</i>
            </div>
            <ul class="erji">

                <li>
                    <span><a href="<?php echo url('index/index/device_status'); ?>" target="main">设备状态</a></span>
                </li>
                <li>
                    <span><a href="<?php echo url('index/index/msg_list'); ?>" target="main">消息队列</a></span>
                </li>
                <!--<li>-->
                    <!--<span><a href="<?php echo url('index/index/device_chat'); ?>" target="main">设备报表</a></span>-->
                <!--</li>-->
            </ul>
        </li>
        <li >
            <div class="nav_m">
                <span><a>指令管理</a></span>
                <i>&nbsp;</i>
            </div>
            <ul class="erji">
                <li class="now_li">
                    <span><a href="<?php echo url('index/index/commond_list'); ?>" target="main">指令列表</a></span>
                </li>
                <li>
                    <span><a href="<?php echo url('index/index/commond_edit'); ?>" target="main">新增指令</a></span>
                </li>
            </ul>
        </li>
        <li>
            <div class="nav_m">
                <span><a  onclick="window.parent.location.href='<?php echo url('/login'); ?>'" >退出系统</a></span>
            </div>
        </li>
    </ul>
</div>
</body>
</html>
